package cn.itsource.org.domain;

import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.itsource.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author itsource
 * @since 2022-08-05
 */

@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "联系电话" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String tel;
    @Excel(name = "注册时间" , exportFormat = "yyyy-MM-dd", importFormat = "yyyy-MM-dd",orderNum = "1", width = 30, isImportField = "true_st")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerTime;
    /**
     * 待审核 审核通过 驳回
     */
    private Integer state;
    @Excel(name = "店铺地址" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String address;
    private String logo;
    private Long adminId;
    private Employee admin;


}
